﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.Workflow.Designer.Application.Contracts
{
    public interface IDefinitionAppService
        : ICrudAppService<
            DefinitionDto,
            Guid,
            GetDefinitionInput,
            DefinitionCreateDto,
            DefinitionUpdateDto>, IApplicationService
    {
        Task<DefinitionSaveDto> SaveAsync(DefinitionSaveDto input);
        Task<DefinitionSaveDto> FindDetailAsync(Guid id);
        Task<bool> IsExistAsync(Guid id);

    } 
}
